var arr = [100, 200, 300];
var arr2 = [100, 200, 300];
var tuple;
tuple = ['simon', 18];
console.log(tuple[0]);
console.log(tuple[1]);
tuple.push(123);
var union;
union = "simon";
union = 666;
union = false;
var uniArray = ['simon', 18];
uniArray[0] = 18;
uniArray[1] = "ouyang";
uniArray[2] = 36;
uniArray.push(100);
console.log('uniArray的长度为：' + uniArray.length);
function merge(a, b) {
    if (typeof a === 'number' && typeof b === 'number') {
        return a + b;
    }
    if (typeof a === 'string' && typeof b === 'string') {
        return a.toString() + b.toString();
    }
}
console.log(merge(100, 200));
console.log(merge("hello", " simon"));
